package com.aaa.fees.service;

import com.aaa.entity.CareHistory;
import com.aaa.entity.CareOrderItem;
import com.aaa.fees.vo.PostObjVo;
import com.aaa.vo.Result;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;
import java.util.Map;

public interface PayChargeService {
   Result<Map<String, Object>> queryByIdHistory(String regId);

   //现金支付
   @Transactional
   Result<CareOrderItem> createOrderChargeWithCash(PostObjVo postObjVo);
// 微信支付
   Result handlePayWithZfb(PostObjVo postObjVo);
   //支付状态
   Result queryOrderChargeOrderId(String orederId);
}
